/*
 * Copyright (c) 2020 WildFireChat. All rights reserved.
 */

package com.cincc.cinccimdemo.ui.me.favorite.viewholder;

import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;

import com.cincc.cinccimdemo.R;
import com.cincc.im.model.CollectModel;

public class FavUnknownContentViewHolder extends FavContentViewHolder {
    TextView textView;

    public FavUnknownContentViewHolder(@NonNull View itemView) {
        super(itemView);
        bindViews(itemView);
    }

    private void bindViews(View itemView) {
        textView = itemView.findViewById(R.id.favUnkownContentTextView);
    }

    @Override
    public void bind(Activity context, CollectModel item) {
        super.bind(context, item);
        textView.setText("当前版本不支持，请升级查看");
    }
}
